package com.kaikeba.estack.web.dto;

import com.kaikeba.estack.common.OrderEnum;

import java.io.Serializable;

/**
 * @Auth xingwan
 * @Date 2020/10/5 1:20
 **/
public class SortDto implements Serializable {

    /**
     * 字段名称
     */
    private String fieldName;

    /**
     * 排序
     */
    private OrderEnum order;


    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public OrderEnum getOrder() {
        return order;
    }

    public void setOrder(OrderEnum order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "SortDto{" +
                "fieldName='" + fieldName + '\'' +
                ", order=" + order +
                '}';
    }
}
